import { App } from 'vue';
import IBizAuthUserinfo from './auth-userinfo';
import IBizNavPosIndex from './nav-pos-index';
import IBizNavTabs from './nav-tabs';
import IBizPanelContainer from './panel-container';
import IBizPanelCtrlPos from './panel-ctrl-pos';
import IBizScrollContainer from './scroll-container';
import IBizPanelButton from './panel-button';
import IBizNavPos from './nav-pos';
import IBizPanelAppTitle from './panel-app-title';
import IBizSingleDataContainer from './single-data-container';
import IBizPanelField from './panel-field';
import IBizPanelAppHeader from './panel-app-header';
import IBizPanelViewHeader from './panel-view-header';
import IBizPanelRawItem from './panel-rawitem';
import IBizGridContainer from './grid-container';
import IBizPanelViewContent from './panel-view-content';
import IBizPanelTabPanel from './panel-tab-panel';
import IBizPanelTabPage from './panel-tab-page';

export * from './panel-container';
export * from './panel-ctrl-pos';
export * from './scroll-container';
export * from './auth-userinfo';
export * from './nav-pos-index';
export * from './panel-button';
export * from './nav-pos';
export * from './panel-app-title';
export * from './panel-container';
export * from './panel-field';
export * from './panel-rawitem';
export * from './panel-tab-panel';
export * from './panel-tab-page';

export const IBizPanelComponents = {
  install: (v: App): void => {
    v.use(IBizPanelContainer);
    v.use(IBizPanelCtrlPos);
    v.use(IBizScrollContainer);
    v.use(IBizAuthUserinfo);
    v.use(IBizNavPosIndex);
    v.use(IBizNavTabs);
    v.use(IBizPanelButton);
    v.use(IBizNavPos);
    v.use(IBizPanelAppTitle);
    v.use(IBizSingleDataContainer);
    v.use(IBizPanelField);
    v.use(IBizPanelAppHeader);
    v.use(IBizPanelViewHeader);
    v.use(IBizPanelRawItem);
    v.use(IBizPanelViewContent);
    v.use(IBizGridContainer);
    v.use(IBizPanelTabPanel);
    v.use(IBizPanelTabPage);
  },
};

export default IBizPanelComponents;
